﻿using Pay.Core;
using Pay.DTO;
using Pay.IService;
using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Security.Claims;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;

namespace Pay.H5.Controllers {
	
    public class TopicController : Controller {
        public TopicController() { }
        private ITopicGroupService _topicGroupService;
        private IMerchantService _merchantService;
       
        public TopicController(ITopicGroupService topicGroupService,IMerchantService merchantService) {
            _topicGroupService = topicGroupService;
            _merchantService = merchantService;
        }
        public ActionResult List(long Id,long MerchantId) {
            var model = _topicGroupService.GetTopicGroup(Id);
            ViewData["topicgroup"] = model;
            ViewData["url"] = site.img_url;
            return View();
        }

    }
}